<!DOCTYPE html>
<html>
<#include "../../include/resource.html">
<body>
	<#assign nid="my_account"> 
	<#assign flag="score"> 
	<#include "../../include/header.html">
	<!--header-end-->
	<!--用户中心的主栏目 开始-->
	<#if userCache.userType==2>
		<#include "../../include/member_borrow_header.html">
	<#else>
		<#include "../../include/member_header.html">
    </#if>
	<div id="container" class="clearfix">
		<div class="usermain clearfix">
			<!--左边的导航 开始-->
			<div class="user_left"> 
			<#assign mid="m_invest">
			    <#if userCache.userType==2>
			    	<#include "../../../member_borrow/account_menu.html">
			    <#else>
			    	<#include "../../../member/account_menu.html">
			    </#if>
			</div> 
			<!--左边的导航 结束-->

			<!--右边的内容 开始-->
			<div class="user_right">
				<!--S- 2.0我的积分 -->
					<div class="user_right_menu">
						<div class="integralAmount clearfix">
							<p>当前积分：<em><i>${userScore.validScore}</i>积分</em></p>
							<a href="/member/score/mall/main.html" target="_blank">我要兑换</a>
						</div>
					</div>
					<div class="user_right_main" style="margin-top: 25px;">
						<div class="integralRecode tab_change">
					
							<ul class="title_list">
						        <li  class="hover">
						   			<h2 class="list_btn exchange_record">兑换记录</h2>
						   		</li>
						   		<li>
						   			<h2 class="list_btn integral_record">积分记录</h2>
						   		</li>
						    </ul>
						     <!-- S 兑换记录 -->
						    <div class="list_div" id="exchangeRecordDiv">
						    	<table class="table_content">
						    		<thead>
										<tr>
											<td>时间</td>
											<td>商品</td>
											<td>数量</td>
											<td>消耗积分</td>
											<td>兑换备注</td>
											<td>审核备注</td>
											<td>状态</td>
										</tr>
									</thead>
									<tbody id="member_table"></tbody>
						    	</table>
						    	<div id="kkpagerExchangeRecord" class="kkpager"></div>
						    </div>
						    <!-- E 兑换记录 -->
						    <!-- S 积分记录 -->
						    <div class="list_div" id="integralRecordDiv" style="display:none;">
						    	<ul class="member_search">
						    		<li>
										积分状态 
										<span id="status">
											<a href="javascript:;" class="current" data-val="99" style="display: inline-block;">全部</a>
											<a href="javascript:;" data-val="1" style="display: inline-block;">获取记录</a>
											<a href="javascript:;" data-val="2" style="display: inline-block;">使用记录</a>
										</span>
									</li>
						    	</ul>
						    	<table class="table_content">
						    		<thead>
										<tr>
											<td>时间</td>
											<td class="behavior">行为</td>
											<td class="number">积分数</td>
											<td class="note">备注</td>
										</tr>
									</thead>
									<tbody id="member_table"></tbody>
						    	</table>
						    		
						    	<div id="kkpagerIntegralRecord" class="kkpager"></div>
						    </div>
						    <!-- E 积分记录 -->	
				    
						</div>	
					</div>	
				</div>
			<!--右边的内容 结束-->
		</div>
	</div>
	<!--用户中心的主栏目 结束-->
	<#include "../../include/PC_Footer_Additional_JS.html">
	<script>
		seajs.use('${webroot}${theme_dir}/media/js/member/score');
		seajs.use('${webroot}${theme_dir}/media/js/member/exchange');
	</script>	
	<#include "../../include/footer.html">
</body>
</html>